package com.gaga.common.entity.charts;

import lombok.Data;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

/**
 * @author liujia
 */
@Data
public class SeriesRsData implements Serializable {


    /**
     * 值
     */
    private List<Map<String,Object>> dataList;


    /**
     * 塞入列数据
     */
    private List<Map<String,Object>> columnList;

    /**
     * 数据总数
     */
    protected int total;

    /**
     * 对于饼图等系列，调用该方法
     *
     * @param dataList
     */
    public SeriesRsData(List<Map<String,Object>> dataList,List<Map<String,Object>> columnList) {
        this.dataList = dataList;
        this.columnList = columnList;
    }


}
